<?php

namespace plugin\ycMassage\utils\enum;

use plugin\ycMassage\utils\Enum;

class OrdersState extends Enum
{
    const NOT_PAY = [
        'text'      => '待支付',
        'value'     => 0,
        'style' => [
            'type' => 'info'
        ]
    ];
    const PAY = [
        'text'      => '已支付',
        'value'     => 1,
        'style' => [
            'type' => 'success'
        ]
    ];
    const WAIT_START = [
        'text'      => '待开始',
        'value'     => 2,
        'style' => [
            'type' => ''
        ]
    ];
    const SERVICE_ING = [
        'text'      => '进行中',
        'value'     => 3,
        'style' => [
            'type' => ''
        ]
    ];
    const WAIT_COMMENT = [
        'text'      => '待评价',
        'value'     => 4,
        'style' => [
            'type' => ''
        ]
    ];
    const FINISH = [
        'text'      => '已完成',
        'value'     => 10,
        'style' => [
            'type' => 'danger'
        ]
    ];
    const TRANSFERRING_ORDERS = [
        'text'      => '转单中',
        'value'     => 80,
        'style' => [
            'type' => 'success'
        ]
    ];
    const REFUNDING = [
        'text'      => '退款中',
        'value'     => 90,
        'style' => [
            'type' => 'warning'
        ]
    ];
    const PARTREFUND = [
        'text'      => '部分退款',
        'value'     => 97,
        'style' => [
            'type' => 'warning'
        ]
    ];
    const REFUND = [
        'text'      => '已退款',
        'value'     => 98,
        'style' => [
            'type' => 'warning'
        ]
    ];
    const CANCEL = [
        'text'      => '已取消',
        'value'     => 99,
        'style' => [
            'type' => 'info'
        ]
    ];
}
